package com.mooc.mymooc.dao;


import com.mooc.mymooc.pojo.Teacher;

import java.util.List;
import java.util.Map;

public interface TeacherDao {
    public List<Teacher> findTeacherByOrg(Integer id);

    public Teacher findTeacherById(Integer id);

    public List<Teacher> findAllTeacher(Map map);

    public Integer countTeachers();

    public Integer updateFavnumsreduce(Integer id);

    public Integer updateFavnumsadd(Integer id);

    public Integer addTeacher(Teacher teacher);

    public List<Teacher> findTeacherInBackGround(Teacher teacher);

    public Integer removeTeacher(Integer id);

    public Integer updateTeacher(Teacher teacher);
}
